package com.chenyang.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chenyang.common.entity.product.AttrGroupEntity;
import com.chenyang.common.utils.PageUtils;
import com.chenyang.common.vo.product.AttrGroupWithAttrsVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author è¡é­
 * @email 923031785@qq.com
 * @date 2022-04-09 15:25:59
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    /**
     * 获取分类下所有分组&关联属性
     */
    List<AttrGroupWithAttrsVO> getAttrGroupWithAttrs(Long catelogId);
}

